// 获取开的按钮
const open = document.getElementById('open')
// 获取关的按钮
const close = document.getElementById('close')
// 获取容器 
const container = document.querySelector('.container')

open.addEventListener('click',()=>container.classList.add('show-nav'))
close.addEventListener('click',()=>container.classList.remove('show-nav'))